package com.xiaozhengkeji.xiaozhengblog.base.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.xiaozhengkeji.xiaozhengblog.base.entitys.ArticleTagEntity;
import com.xiaozhengkeji.xiaozhengblog.base.mapper.ArticleTagEntityMapper;
@Service
public class ArticleTagEntityService{

    @Resource
    private ArticleTagEntityMapper articleTagEntityMapper;

    
    public int deleteByPrimaryKey(Integer id) {
        return articleTagEntityMapper.deleteByPrimaryKey(id);
    }

    
    public int insert(ArticleTagEntity record) {
        return articleTagEntityMapper.insert(record);
    }

    
    public int insertSelective(ArticleTagEntity record) {
        return articleTagEntityMapper.insertSelective(record);
    }

    
    public ArticleTagEntity selectByPrimaryKey(Integer id) {
        return articleTagEntityMapper.selectByPrimaryKey(id);
    }

    
    public int updateByPrimaryKeySelective(ArticleTagEntity record) {
        return articleTagEntityMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(ArticleTagEntity record) {
        return articleTagEntityMapper.updateByPrimaryKey(record);
    }

    
    public List<ArticleTagEntity> queryByAll(ArticleTagEntity articleTagEntity) {
        return articleTagEntityMapper.queryByAll(articleTagEntity);
    }

    
    public List<ArticleTagEntity> queryAllByArticleTag(String articleTag) {
        return articleTagEntityMapper.queryAllByArticleTag(articleTag);
    }

}
